package xin.yogee.ms.module.sys.mapper;

import xin.yogee.ms.module.sys.entity.SysDepartment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 工作部门 Mapper 接口
 * </p>
 *
 * @author jackieQ
 * @since 2019-02-14
 */
public interface SysDepartmentMapper extends BaseMapper<SysDepartment> {

    SysDepartment getByDepartId(String id);

    SysDepartment getPdepartByUserId(String userId);

    List<SysDepartment> getListByPid(String pid);

    SysDepartment getByUserId(String id);

    List<SysDepartment> getList();

}
